-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[PIO-209] Upgrade Elasticsearch to 6.8 for pre-built binary distribution #516
Conversation
Currently, in the develop branch (Elasticsearch 6.4.2), there are no HEAD request warnings.
When upgrading Elasticsearch to 6.8.1, I have run into the following warnings:
That's why tests fail. When executing pio commands, the HEAD request warnings will always be visible to users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elasticsearch 6.x
In 6.8, Not setting include_type_name
will result in a deprecation warning.
Elasticsearch 7.x
The include_type_name
parameter in the index creation, index template, and mapping APIs will default to false. Setting the parameter at all will result in a deprecation warning.
Elasticsearch 8.x
The include_type_name
parameter is removed.
Given the context on the Elastic Search Website
I think it makes sense that we bypass this warning.
I believe we should modify the show
function in utils
Since using the number of lines to determine whether it is an id
, name
, or description
might be too risky, as we might face similar issues in the future.
@Wei-1 Thanks! This is good info. I would like to hear other committer's judgement on this, and work out details. |
The Elasticsearch team has been extremely aggressive with breaking changes continuously. |
We have to remove 5.6 support before supporting 7.0 because method |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks very good to me. Great work!
Does this PR need anything more? Or is it ready to merge? Thanks! 👏👏👏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Most users use pre-built binary distribution and would like to run on new versions as much as possible.
before:
Spark 2.1.3
Elasticsearch 5.6.9
Hbase 1.2.6
after:
Spark 2.4.3---> separate a PRElasticsearch 6.8.1
Hbase 1.4.10---> separate a PRThe dependencies are complex, so I will try to handle tasks separately.
This PR upgrade Elasticsearch to 6.8 and deprecate Elasticsearch 5 because of EOL (https://www.elastic.co/support/eol).